package zh.dummy.netty.client.handler;

import io.netty.channel.ChannelHandlerAdapter;
import io.netty.channel.ChannelHandlerContext;

public class FinalChannelHandler extends ChannelHandlerAdapter{
	
	public void channelRead(ChannelHandlerContext ctx,Object msg){
	}
	
	public void exceptionCaught(ChannelHandlerContext ctx,Throwable cause){
		ctx.close();
	}
}
